package com.yu.mall.mapper;

import com.yu.mall.dto.order.OrderQueryDTO;
import com.yu.mall.entity.Order;
import com.yu.mall.vo.order.OrderVO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface OrderMapper extends Mapper<Order> {

    List<OrderVO> list(@Param("openid") String openid, @Param("name")String name,@Param("status") String status);

    List<Order> adminList(@Param("dto")OrderQueryDTO dto);

    List<Order> cancelOrderComplete();
}